/**
 * Created by zhangxiaoyu on 16/12/01.
 */
angular.module('hyt.config',[])

    .constant('ENV',{
      'appName':"好运通",
      'version' : "82",
      // 'postUrl' : "http://www.xyt56.net/app/",
      // 'postUrl' : "http://60.205.83.50/app/",
      'postUrl' : "http://59.110.62.87:18056/app/",
      "api": {
        "registUser" : "ownerBusiness/regist",
        "getVerificationCode" : "user/getVerificationCode/",
        "checkVerificationCode" : "user/checkVerificationCode/",
        "login" : "user/login/",
        "validLogin" : "user/validLogin/",
        "forgetPwd" : "user/forgetPwd/",
        "addOrder" : "orderInfo/onlineOrderInfo",
        "getPaymentMethod" : "waybillInfo/getPaymentMethod/",
        "getSites" : "waybillInfo/getSites/",
        "getOrderDetail" : "orderInfo/getOrderDetail/",
        "getOrders" : "orderInfo/getOwnerOrders/",
        "getReceipts" : "receiptInfo/getReceipts/",
        "recoveryReceipt" : "receiptInfo/recoveryReceipt/",
        "savePrintSet" : "user/savePrintSet/",
        "getPrintSet" : "user/getPrintSet/",
        "getWaybillByNo" : "abnormalInfo/getWaybillByNo/",
        "saveAbnormalMsg" : "abnormalInfo/saveAbnormalMsg/",
        "getNote" : "note/getNote/",
        "deleteNote" : "note/deleteNote/",
        "addNote" : "note/saveNote",
        "changeOrderStatus" : "orderInfo/changeOrderStatus/",
        "getWaybillsOfTrans" : "orderInfo/getWaybillsOfTrans/",
        "getWayDetailOfTrans" : "orderInfo/getWayDetailOfTrans/",
        "getWayDetail" : "orderInfo/getWayDetail/",
        "getNotice" : "noticeInfo/getNotice/",
        "uploadAbnormaPicture" : "abnormalInfo/uploadAbnormaPicture",
        "getDistrict" : "waybillInfo/getDistrict/",
        "getOrderRecord" : "orderInfo/getOrderRecord/",
        "getVersion" : "version/getVersion/",
        "isCountExist" : "user/isCountExist/",
        "loadUserDepts" : "user/loadUserDepts/",
        "changeDept" : "user/changeDept/",
        "getAddressInfo" : "addressInfo/getAddressInfo/",
        "addAddress" : "ownerBusiness/saveAddress/",
        "getAddressDetail" : "addressInfo/getAddressDetail/",
        "deleteAddress" : "ownerBusiness/deleteAddress/",
        "getDefaultAddress" : "ownerBusiness/getDefaultAddress/",
        "cancelOrder" : "orderInfo/cancelOrder/",
        "submitOrder" : "orderInfo/submitOrder/",
        "getDeptByDivision" : "ownerBusiness/getDeptByDivision/",
        "getFirstRecord" : "orderInfo/getFirstRecord/"
      }
    });
